#!/bin/sh

set -e

COMMAND="$0-$1"
[ -x "$COMMAND" ] && {
	shift
	exec "$COMMAND" "$@"
}

echo "Usage: $(basename $0) <command> [...]" >&2
echo "Common commands: list, create, show, diff, apply, destroy, git" >&2
exit 1
